# Contributor: Lucas Ramage <lucas.ramage@infinite-omicron.com>
# Maintainer: Lucas Ramage <lucas.ramage@infinite-omicron.com>
pkgname=roswell
pkgver=22.12.14.113
pkgrel=0
pkgdesc="Common Lisp environment setup Utility"
url="https://roswell.github.io"
arch="all"
license="MIT"
makedepends="automake autoconf curl-dev"
options="!check" # no test suite
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/roswell/roswell/archive/refs/tags/v$pkgver.tar.gz"

prepare() {
	default_prepare
	./bootstrap
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--with-sbcl-bin-variant=-musl
	make
}

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="
f102297af67b5d5414f853fc428f39347cb09a604bff95ad50c7f5249582a053e00fa3bb59a52846e3afc8244b8de1a7ee4667847b829f7d176121c496fd038f  roswell-22.12.14.113.tar.gz
"
